

export function useDeviceSelectOptions() {
  const cardTypeOptions = [
    {
      label: 'C37TB',
      value: 1
    },
    {
      label: 'C37T',
      value: 2
    },
    {
      label: 'C37T2',
      value: 3
    },
    {
      label: 'C37T3',
      value: 4
    }
  ]

  const osOptions = [
    {
      label: 'IOS',
      value: 'ios'
    },
    {
      label: '安卓',
      value: 'android'
    },
    {
      label: 'Windows',
      value: 'windows'
    },
    {
      label: 'MacOS',
      value: 'macos'
    },
    {
      label: 'Linux',
      value: 'linux'
    },
    {
      label: '鸿蒙',
      value: 'harmonyos'
    },
    {
      label: '其他',
      value: 'other'
    }
  ]

  const statusOptions = [
    {
      label: '正常',
      value: 'used'
    },
    {
      label: '停用',
      value: 'unused'
    }
  ]
  const connectionStatusOptions = [
    {
      label: '在线',
      value: 'online'
    },
    {
      label: '离线',
      value: 'offline'
    },
    {
      label: '其他',
      value: 'other'
    }
  ]


  const clientTypeOptions = [
    {
      label: 'IOS',
      value: 'ios'
    },
    {
      label: '安卓',
      value: 'android'
    },
    {
      label: '万花筒',
      value: 'wanhuatong'
    },
    {
      label: '一致性盒子',
      value: 'box'
    }
  ]

  const executeCommandsOptions = [
    {
      label: '采集报文',
      value: 'start_data_collection'
    },
    {
      label: '开始抓包',
      value: 'start_packet_capture'
    },
    {
      label: '开始采集CAN报文',
      value: 'start_can_frame_collection'
    },
    {
      label: '开始采集OBD数据',
      value: 'start_obd_frame_collection'
    },
    {
      label: '停止采集',
      value: 'stop_data_collection'
    },
    {
      label: '停止抓包',
      value: 'stop_packet_capture'
    },
    {
      label: '停止采集CAN报文',
      value: 'stop_can_frame_collection'
    },
    {
      label: '停止采集OBD数据',
      value: 'stop_obd_frame_collection'
    },
    {
      label: '运行任务',
      value: 'start_task'
    },
    {
      label: '停止任务',
      value: 'stop_task'
    },
    {
      label: '运行用例',
      value: 'start_case'
    },
    {
      label: '停止用例',
      value: 'stop_case'
    },
  ]


  const SensorOptions = [
    {
      label: 'CAN',
      value: 'can'
    },
    {
      label: 'OBD',
      value: 'obd'
    },
    {
      label: '空调',
      value: 'telmp'
    },
  ]


  return {
    osOptions,
    cardTypeOptions ,
    statusOptions,
    connectionStatusOptions,
    clientTypeOptions,
    executeCommandsOptions,
    SensorOptions
  }
}
